package com.yimixian.app.model;

import java.util.List;

/**
 * Created by zhilian-2 on 2015/10/23.
 */
public class Material<T extends Object> implements Comparable<Material>{

    public Integer sort;//位置排序
    public String type;//列表类型
    public List<T> mList;//列表数据

    @Override
    public int compareTo(Material another) {
        if (another == null){
           return -1;
        }
        return this.sort.compareTo(another.sort);
    }
}
